#set term png
#set output "./image/B.png"

plot "data.txt" w l title "standard function",\
     "data_2.txt" w l title "interpolate with 2 points",\
     "data_4.txt" w l title "interpolate with 4 points",\
     "data_6.txt" w l title "interpolate with 6 points",\
     "data_8.txt" w l title "interpolate with 8 points"
set title "plot of B"
set grid xtics ytics ls 100
set grid linecolor rgb "#808080"

#set output

set term png
set output "./image/B.png"
replot
